package com.briup.bookstore.mapper;

import com.briup.bookstore.domain.bean.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderItemMapper {
    /**
     * 新增订单项数据
     *
     * @param orderItems 订单项列表
     */
    void insertBatch(@Param("orderItems") List<OrderItem> orderItems);
}
